/* style.css */

/* Begin HTML element styling */
* {
  color:#ccc;
  font-family:Arial;
  font-size:3vh;
}

html {
  height:100%;
}

body {
  background-color:#333;
  margin:0;
  max-height:100%;
  overflow:hidden;

  /* Begin disable text-selection */
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  /* End disable text-selection */
}

p {
  margin:1vh;
}

a {
  font-family:'Poiret One', cursive;
  text-decoration:none;
  color:#888;
}

a:hover {
  color:#fff;
}

/* End HTML element styling */


/* Begin IDs */

#title {
  font-size:6vh;
  margin-top:-1vh;
}

#container {
  margin:0 auto;
  width:65vh;
}

#box {
  background-color:#333;
  overflow:hidden;
  height:69vh;
}

#level {
  font-size:3.5vh;
}

#loader {
  height:69vh;
  text-align:center;
}

#loader p {
  font-family:'Poiret One', cursive;
}

#image-container {
  position:relative;
  top:50%;
  -webkit-transform:translateY(-50%);
  -ms-transform:translateY(-50%);
  transform:translateY(-50%);
}


/* The Tutorial overlay that shows on Level 1 of the game */
#introtutorial {
  background-image:url('../images/introtutorial.png');
  width:66vh;
  height:59vh;
  background-position: center center;
  background-size:contain;
  background-repeat:no-repeat;
  position: fixed;
  display:none;
  opacity:0.5;
}

/* A giant transparent overlay for swiping. It simplifies everything */
#swipeArea {
  width:66vh;
  height:59vh;
  background-position: center center;
  background-size:contain;
  background-repeat:no-repeat;
  position: fixed;
  z-index:99999999;
}

#board {
  border-spacing:0;
  margin:0 auto;
  display:none;
}

#overlay {
  position:relative;
  min-height:65vh;
/*  width:351px;
  padding:15px; */
  margin:0 auto;
  text-align:center;
  overflow: auto;
  display:none;
}

#overlay h1 {
  color:#bbb;
  padding:3vh;
  font-family:'Poiret One', cursive;
  font-size:5vh;
}

#overlay #holder {
  position:absolute;
  bottom:30px;
  left:0px;
  width:100%;
}

#overlay p {
  padding:10px;
  color:#ddd;
  font-family:'Poiret One', sans-serif;
}

#overlay button {
	-moz-box-shadow:inset 0px 1px 0px 0px #b3b3b3;
	-webkit-box-shadow:inset 0px 1px 0px 0px #b3b3b3;
	box-shadow:inset 0px 1px 0px 0px #b3b3b3;
	background-color:#707070;
	-webkit-border-top-left-radius:0px;
	-moz-border-radius-topleft:0px;
	border-top-left-radius:0px;
	-webkit-border-top-right-radius:0px;
	-moz-border-radius-topright:0px;
	border-top-right-radius:0px;
	-webkit-border-bottom-right-radius:0px;
	-moz-border-radius-bottomright:0px;
	border-bottom-right-radius:0px;
	-webkit-border-bottom-left-radius:0px;
	-moz-border-radius-bottomleft:0px;
	border-bottom-left-radius:0px;
	text-indent:0;
	border:1px solid #000000;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:3vh;
	font-weight:bold;
	font-style:normal;
	height:10vh;
  min-width:26vh;
	line-height:2.4vh;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #2e4d6b;
}

#overlay button:hover {
	background-color:#3e474f;
}

#overlay button:active, .active {
  bottom:10vh;
}
/* This button was generated using CSSButtonGenerator.com */

#overlay #content {
  color:#ddd;
  font-size:4vh;
  font-family:'Poiret One', sans-serif;
}
/* End IDs */

/* Begin Classes */
.cell {
  font-family: 'Open Sans', sans-serif;
  font-size:6.6vh;
  color:#555;
  width:20vh; /* Not 120px because otherwise cells are different widths */
  height:20vh;
  background-color:#999;
  padding:0;
  border:1px solid #333;
  box-sizing:border-box;
}

.selected {
  /*background-color:#444;*/
  box-sizing:border-box;
  font-size:6.8vh;
  font-weight:bold;
  color:#fff;
}

.selected.white {
  color:#000;
}

.poiret {
  font-family: 'Poiret One', cursive;
}

.center {
  text-align:center;
}

.light {
  color:#ddd;
}

.black {
  background-color:#292929; /* one shade darker than #333 */
}

.white {
  background-color:#ccc;
}

.left {
  text-align:left;
  float:left;
}

.right {
  text-align:right;
  float:right;
}

#selector {
  z-index:50000;
  float: left;
  height:20vh;
  width:20vh;
  text-align: center;
  position:absolute;
  top:0;
  left:0;
}

.dSelected {
  border: 3px solid #227687;
  box-sizing:border-box;
  font-weight:bold;
  color:#fff;
  -moz-box-shadow: inset 0 0 10px #227687;
  -webkit-box-shadow: inset 0 0 10px #227687;
  box-shadow: inset 0 0 10px #227687;
  display:none;
}

.fb-like {
  position:absolute !important;
  bottom:20px;
  left:20px;
}

/* Hides the "flyout" comment box when Facebook like button is clicked */
.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr {
  display: none !important;
}